package com.zrrd._0727;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;

public class TestPrintStream {
   public static void main(String[] args) throws FileNotFoundException {
      PrintStream ps=new PrintStream(new FileOutputStream("yuan.txt",true));
      ps.println("liuguanganying_899");//在源文件的基础上进行填充，而不是覆盖
      ps.close();
   }
}
